package com.panshi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zhy
 * @since 2020-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ZxUncheck对象", description = "")
public class ZxUncheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资讯ID")
    private Integer id;

    @ApiModelProperty(value = "资讯类型ID")
    private Integer typeId;

    @ApiModelProperty(value = "作者")
    private Integer userId;

    @ApiModelProperty(value = "资讯标题")
    private String title;

    @ApiModelProperty(value = "资讯内容")
    private String content;

    @ApiModelProperty(value = "资讯简介")
    private String introduce;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishTime;

    @ApiModelProperty(value = "图片地址")
    private String photoPath;

    @ApiModelProperty(value = "审核人")
    private Integer checkUserId;

    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTime;

    @ApiModelProperty(value = "审核描述")
    private String checkDescribe;

    @ApiModelProperty(value = "状态:0-审核中,1-已通过,2-未通过")
    private Integer status;

    @ApiModelProperty(value = "类型名称")
    private String name;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;




}
